
SERVER_PORT = 9000
DEBUG = False
SQLALCHEMY_ECHO = False
RELEASE_VERSION = "20200409"

AUTH_COOKIE_NAME = "mooc_food"

##过滤url
IGNORE_URLS = [
    "^/user/login",
    "^/api"
]

IGNORE_CHECK_LOGIN_URLS = [
    "^/static",
    "^/favicon.ico"
]

API_IGNORE_URLS = [
    "^/api"
]

PAGE_SIZE = 5
PAGE_DISPLAY = 10

STATUS_MAPPING = {
    "1":"正常",
    "0":"已删除"
}

MINA_APP = {
    'appid':'wxd710555707eddca3',
    'appkey':'513e88c00aef39b1619dcf832b2e9c2e'
}

UPLOAD = {
    "ext":['jpg','gif','bmp','png','jpeg'],
    "prefix_path":'/web/static/upload/',
    "prefix_url":'/static/upload/'
}

APP = {
    'domain':'http://192.168.43.201:9000'
}